#include <stdio.h>
int main()
{
    int arr[5];
    // int arr1[5][3];
    // arr1是长度5的数组 元素是长度为3的数组
    int arr1[5][3] = {
        {11, 12, 13},
        {21, 22, 23},
        {31, 32, 33},
        {41, 42, 43},
        {51, 52, 53}};

    int arr2[5][3] = {11, 12, 13, 21, 22, 23, 31, 32, 33, 41, 42, 43, 51, 52, 53};

    int arr3[5][3] = {11, 12, 13, 21, 22}; // 不够的话会使用0

    printf("%d\n", arr1[1][1]);

    for (int i = 0; i < 5; i++)
    {
        for (int j = 0; j < 3; j++)
        {
            printf("%d-%u ", arr1[i][j], &arr1[i][j]);
        }
        printf("\n");
    }

    int arr4[3][4] = {4, 4, 34, 37, 3, 12, 2, 6, 5, 17, 9, 11};
    int row = 0, column = 0, num = 0, min = arr4[0][0];
    for (int i = 0; i < 3; i++)
    {
        for (int j = 0; j < 4; j++)
        {
            num += arr4[i][j];
            if (min > arr4[i][j])
            {
                min = arr4[i][j];
                row = i;
                column = j;
            }
        }
    }
    printf("和:%d,行:%d,列:%d,最小值:%d", num, row, column, min);

    return 0;
}